GetNextUserDataType
TheGetNextUserDataType
function allows you to retrieve the next user data type in a specified user data list. You can use this function to scan all the user data types in a user data list.
pascal long GetNextUserDataType (UserData theUserData, OSType udType);
theUserData
- Specifies the user data list for this operation. You obtain this list reference by calling the
GetMovieUserData
,GetTrackUserData
, orGetMediaUserData
function (described on page 2-215, page 2-216, and page 2-217, respectively).udType
- Specifies a user data type. Set this parameter to 0 to retrieve the first user data type in the user data list. On subsequent requests, use the previous value returned by this function.
DESCRIPTION
TheGetNextUserDataType
function returns an operating-system data type containing the next user data type value in the specified user data list. When you reach the end of the user data list, this function sets the returned value to 0. You can use this value to stop your scanning loop.ERROR CODES
None